package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤记录管理对象 hr_attendance_record
 * 
 * @author yex
 * @date 2021-05-06
 */
public class AttendanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤id */
    private Long attendanceId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long employeeId;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String employeeName;

    /** 考勤日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attendDate;

    /** 出勤时长 */
    @Excel(name = "出勤时长")
    private Long attendMinute;

    /** 缺勤时长 */
    @Excel(name = "缺勤时长")
    private Long absentMinute;

    /** 请假时长 */
    @Excel(name = "请假时长")
    private Long leaveMinute;

    /** 迟到时长 */
    @Excel(name = "迟到时长")
    private Long lateMinute;

    /** 早退时长 */
    @Excel(name = "早退时长")
    private Long earlyLeaveMinute;

    /** 加班时长 */
    @Excel(name = "加班时长")
    private Long overtimeWorkMinute;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setAttendanceId(Long attendanceId) 
    {
        this.attendanceId = attendanceId;
    }

    public Long getAttendanceId() 
    {
        return attendanceId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setAttendDate(Date attendDate) 
    {
        this.attendDate = attendDate;
    }

    public Date getAttendDate() 
    {
        return attendDate;
    }
    public void setAttendMinute(Long attendMinute) 
    {
        this.attendMinute = attendMinute;
    }

    public Long getAttendMinute() 
    {
        return attendMinute;
    }
    public void setAbsentMinute(Long absentMinute) 
    {
        this.absentMinute = absentMinute;
    }

    public Long getAbsentMinute() 
    {
        return absentMinute;
    }
    public void setLeaveMinute(Long leaveMinute) 
    {
        this.leaveMinute = leaveMinute;
    }

    public Long getLeaveMinute() 
    {
        return leaveMinute;
    }
    public void setLateMinute(Long lateMinute) 
    {
        this.lateMinute = lateMinute;
    }

    public Long getLateMinute() 
    {
        return lateMinute;
    }
    public void setEarlyLeaveMinute(Long earlyLeaveMinute) 
    {
        this.earlyLeaveMinute = earlyLeaveMinute;
    }

    public Long getEarlyLeaveMinute() 
    {
        return earlyLeaveMinute;
    }
    public void setOvertimeWorkMinute(Long overtimeWorkMinute) 
    {
        this.overtimeWorkMinute = overtimeWorkMinute;
    }

    public Long getOvertimeWorkMinute() 
    {
        return overtimeWorkMinute;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attendanceId", getAttendanceId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("attendDate", getAttendDate())
            .append("attendMinute", getAttendMinute())
            .append("absentMinute", getAbsentMinute())
            .append("leaveMinute", getLeaveMinute())
            .append("lateMinute", getLateMinute())
            .append("earlyLeaveMinute", getEarlyLeaveMinute())
            .append("overtimeWorkMinute", getOvertimeWorkMinute())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
